;(function(window) {

var svgSprite = '<svg>' +
  ''+
    '<symbol id="icon-weixin-copy" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M308.192709 344.503195m-37.696554 0a36.838 36.838 0 1 0 75.393107 0 36.838 36.838 0 1 0-75.393107 0Z" fill="#5de466" ></path>'+
      ''+
      '<path d="M593.603041 539.442002m-29.510104 0a28.838 28.838 0 1 0 59.020208 0 28.838 28.838 0 1 0-59.020208 0Z" fill="#5de466" ></path>'+
      ''+
      '<path d="M500.482177 344.503195m-37.696554 0a36.838 36.838 0 1 0 75.393107 0 36.838 36.838 0 1 0-75.393107 0Z" fill="#5de466" ></path>'+
      ''+
      '<path d="M813.979194 61.609173 208.995453 61.609173c-80.099293 0-145.035234 65.147766-145.035234 145.512095L63.960219 811.351855c0 80.364329 64.935941 145.512095 145.035234 145.512095l604.983741 0c80.100316 0 145.035234-65.147766 145.035234-145.512095L959.014428 207.122291C959.015452 126.756939 894.080533 61.609173 813.979194 61.609173zM399.842059 661.400658c-33.871435 0-61.108776-6.918573-95.051843-13.624299l-94.859461 47.563272 27.13808-81.628112c-67.935252-47.481408-108.585067-108.655675-108.585067-183.206602 0-129.11259 122.1889-230.774991 271.358291-230.774991 133.427872 0 250.313999 81.236186 273.795806 190.570313-8.633634-0.964978-17.334807-1.594311-26.1291-1.594311-128.900765 0-230.705406 96.198969-230.705406 214.751039 0 19.73139 3.070942 38.733163 8.373715 56.861032C416.803359 660.97701 408.358013 661.400658 399.842059 661.400658zM800.123628 756.453525l20.410865 67.815525-74.436316-40.770566c-27.139104 6.80294-54.398958 13.626345-81.422428 13.626345-129.108496 0-230.797503-88.24788-230.797503-196.924022 0-108.495016 101.689007-196.929138 230.797503-196.929138 121.937167 0 230.496651 88.434122 230.496651 196.929138C895.172401 661.400658 854.591147 715.590861 800.123628 756.453525z" fill="#5de466" ></path>'+
      ''+
      '<path d="M741.470787 539.442002m-29.510104 0a28.838 28.838 0 1 0 59.020208 0 28.838 28.838 0 1 0-59.020208 0Z" fill="#5de466" ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-microblog-copy" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M433.783191 469.801666c-134.620927 6.20979-243.456736 78.341484-243.456736 168.2889 0 89.816105 108.835809 157.359111 243.456736 151.071573 134.730253-6.162622 243.793708-90.473459 243.793708-180.321342C677.576899 519.127623 568.507048 463.591877 433.783191 469.801666L433.783191 469.801666zM525.511 696.067458c-41.236242 53.201729-122.811734 79.17392-202.017232 36.272008-37.69924-20.441341-36.323373-60.6189-36.323373-60.6189s-15.64899-126.82861 119.758204-142.685459C542.540254 513.308169 566.741845 642.809767 525.511 696.067458L525.511 696.067458zM434.69857 611.121252c-8.67272 6.292933-10.444319 18.294596-5.739509 25.790514 4.536524 7.678594 15.070582 8.56979 23.61299 2.171927 8.39171-6.631904 11.63651-18.133905 7.105582-25.812299C455.14111 605.803857 444.738363 603.652715 434.69857 611.121252L434.69857 611.121252zM370.512089 628.578016c-25.301645 2.620423-43.388383 24.634498-43.388383 45.730994 0 21.128275 20.363793 35.724179 45.643654 32.765785 25.186723-2.886043 45.685225-22.331259 45.685225-43.402573C418.452385 642.523161 399.552999 625.795902 370.512089 628.578016L370.512089 628.578016zM844.505321 33.945177 179.501394 33.945177c-80.39869 0-145.565107 65.155425-145.565107 145.565107l0 664.976546c0 80.408483 65.166417 145.564907 145.565107 145.564907l665.003927 0c80.39869 0 145.555313-65.155425 145.555313-145.564907l0-664.976546C990.060635 99.101801 924.904011 33.945177 844.505321 33.945177L844.505321 33.945177zM797.920106 668.496351C742.384559 786.379027 559.365046 843.752928 423.744597 833.138124c-128.896808-10.142523-294.615651-52.99407-311.743438-208.96732 0 0-9.058658-70.631312 59.442098-162.046333 0 0 98.505213-137.573725 213.222835-176.836905 114.846534-39.047726 128.239454 27.046063 128.239454 66.125567-6.089471 33.15632-17.533512 52.6549 25.566266 39.26218 0 0 112.914044-52.337915 159.337569-5.923184 37.505771 37.505771 6.189004 89.112981 6.189004 89.112981s-15.518878 17.191144 16.470433 23.380148C752.547669 503.66111 853.3869 550.392826 797.920106 668.496351L797.920106 668.496351zM686.610374 342.766396c-12.293665 0-22.159576-9.933665-22.159576-22.150782 0-12.392198 9.865911-22.352045 22.159576-22.352045 0 0 138.397367-25.556473 121.831798 123.128919 0 0.864014-0.109326 1.546352-0.301795 2.333818-1.568337 10.531859-10.82606 18.632567-21.727469 18.632567-12.32984 0-22.353045-9.854918-22.353045-22.175965C764.055267 420.189304 785.979602 320.830869 686.610374 342.766396L686.610374 342.766396zM920.511989 461.675776l-0.166287 0c-3.646128 25.13316-16.132462 27.155389-31.019169 27.155389-17.783743 0-32.19817-11.168428-32.19817-28.988346 0-15.409552 6.391267-31.083725 6.391267-31.083725 1.916101-6.500593 16.956104-46.860828-9.933665-107.194322-49.180456-82.663754-148.300252-83.866738-159.990327-79.127951-11.808194 4.590088-29.239975 6.943692-29.239975 6.943692-17.898665 0-32.249535-14.568523-32.249535-32.286909 0-14.860525 9.933665-27.441994 23.482879-31.295981 0 0 0.302995-0.494265 0.797259-0.599394 0.97334-0.214455 1.968665-1.183398 3.041538-1.260945 13.813834-2.672788 63.005282-12.318848 110.82526-1.125437C855.856225 202.811686 973.348566 285.552987 920.511989 461.675776L920.511989 461.675776z" fill="#d4237a" ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-24xiaoshi-copy" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M374.321436 278.414786c-9.638048-12.114457-188.927143-181.777667-188.927143-181.777667l-81.721498 58.185882 227.340674 228.393999C357.117934 358.261949 398.201268 310.954752 374.321436 278.414786L374.321436 278.414786zM438.73118 573.415187C311.823732 445.949452 309.499362 409.574457 311.278824 401.898319L85.087564 174.646436c-22.627032 45.77951-84.525095 234.233508 232.705821 528.54791C645.028459 1006.818392 780.987694 921.531887 806.63361 899.504496L590.497592 682.366238C576.489339 684.824402 538.402995 673.524874 438.73118 573.415187L438.73118 573.415187zM610.030329 663.470848l214.883218 215.845319 70.623877-81.356605c0 0-183.266431-185.61756-180.395938-186.621017C679.204363 593.278761 631.768238 639.093544 610.030329 663.470848L610.030329 663.470848zM458.169045 247.476701c0.345432-0.133794 0.571666-0.323539 0.757762-0.588694l0.172716 0.167851c32.567941-36.36648 75.62778-64.067961 126.222666-77.882821 139.797912-38.172702 284.071848 44.175196 322.250631 183.995002 27.107921 99.275297-6.58754 200.804419-78.444756 264.979415l0.188528 0.290698c0 0-1.505793 40.539643 29.448104 29.411614l0.22745 0.279752c82.239647-74.61581 120.596011-191.640732 89.3502-306.071263C904.026057 179.759807 736.537611 84.118847 574.21727 128.442433c-58.43036 15.95435-108.243158 47.875214-145.967041 89.797803l0.485308 0.443953c-0.057167 4.865244 0.675053 39.106829 29.435941 28.797377L458.169045 247.476701zM784.733931 499.115618l0-44.832004 25.243317 0 0-17.794629L784.733931 436.488985 784.733931 301.033304l-26.167713 0L661.387841 436.488985l0 17.794629 97.178377 0 0 44.832004L784.733931 499.115618 784.733931 499.115618zM687.560419 436.465876l71.005799-99.01379 0 99.01379L687.560419 436.465876 687.560419 436.465876zM593.190504 425.266085c37.390614-24.294594 55.146321-48.895699 53.268337-73.826424-3.117405-32.997299-25.549827-50.751789-67.293618-53.248876-36.1293 0-59.476388 18.412515-70.058293 55.145104l25.243317 0c6.851479-24.890587 22.088206-37.658202 45.785592-38.299198 25.509689 0 38.316227 12.130269 38.316227 36.419998 1.854874 18.090192-13.40253 38.671389-45.80262 61.707102-29.285118 21.178406-51.08141 44.5036-65.414418 70.035183l0 15.899616 139.223813 0 0-15.899616-111.20001 0c8.701488-18.641181 28.023804-37.947684 57.928024-57.932889L593.190504 425.266085zM593.190504 425.266085" fill="#d4237a" ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-shouji-copy" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M759.168 1024 264.832 1024c-29.248 0-52.992-23.68-52.992-52.992L211.84 52.992C211.84 23.744 235.584 0 264.832 0l494.336 0c29.248 0 52.992 23.68 52.992 52.992l0 918.08C812.16 1000.32 788.416 1024 759.168 1024zM512 971.072c19.52 0 35.328-15.808 35.328-35.328 0-19.52-15.808-35.328-35.328-35.328-19.52 0-35.328 15.808-35.328 35.328C476.672 955.264 492.48 971.072 512 971.072zM759.168 105.92l-17.664 0L282.496 105.92 264.832 105.92l0 741.504 17.664 0 459.008 0 17.664 0L759.168 105.92z" fill="#d4237a" ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-weixin-copy-copy" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M308.192709 344.503195m-37.696554 0a36.838 36.838 0 1 0 75.393107 0 36.838 36.838 0 1 0-75.393107 0Z" fill="#707070" ></path>'+
      ''+
      '<path d="M593.603041 539.442002m-29.510104 0a28.838 28.838 0 1 0 59.020208 0 28.838 28.838 0 1 0-59.020208 0Z" fill="#707070" ></path>'+
      ''+
      '<path d="M500.482177 344.503195m-37.696554 0a36.838 36.838 0 1 0 75.393107 0 36.838 36.838 0 1 0-75.393107 0Z" fill="#707070" ></path>'+
      ''+
      '<path d="M813.979194 61.609173 208.995453 61.609173c-80.099293 0-145.035234 65.147766-145.035234 145.512095L63.960219 811.351855c0 80.364329 64.935941 145.512095 145.035234 145.512095l604.983741 0c80.100316 0 145.035234-65.147766 145.035234-145.512095L959.014428 207.122291C959.015452 126.756939 894.080533 61.609173 813.979194 61.609173zM399.842059 661.400658c-33.871435 0-61.108776-6.918573-95.051843-13.624299l-94.859461 47.563272 27.13808-81.628112c-67.935252-47.481408-108.585067-108.655675-108.585067-183.206602 0-129.11259 122.1889-230.774991 271.358291-230.774991 133.427872 0 250.313999 81.236186 273.795806 190.570313-8.633634-0.964978-17.334807-1.594311-26.1291-1.594311-128.900765 0-230.705406 96.198969-230.705406 214.751039 0 19.73139 3.070942 38.733163 8.373715 56.861032C416.803359 660.97701 408.358013 661.400658 399.842059 661.400658zM800.123628 756.453525l20.410865 67.815525-74.436316-40.770566c-27.139104 6.80294-54.398958 13.626345-81.422428 13.626345-129.108496 0-230.797503-88.24788-230.797503-196.924022 0-108.495016 101.689007-196.929138 230.797503-196.929138 121.937167 0 230.496651 88.434122 230.496651 196.929138C895.172401 661.400658 854.591147 715.590861 800.123628 756.453525z" fill="#707070" ></path>'+
      ''+
      '<path d="M741.470787 539.442002m-29.510104 0a28.838 28.838 0 1 0 59.020208 0 28.838 28.838 0 1 0-59.020208 0Z" fill="#707070" ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-microblog-copy-copy" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M433.783191 469.801666c-134.620927 6.20979-243.456736 78.341484-243.456736 168.2889 0 89.816105 108.835809 157.359111 243.456736 151.071573 134.730253-6.162622 243.793708-90.473459 243.793708-180.321342C677.576899 519.127623 568.507048 463.591877 433.783191 469.801666L433.783191 469.801666zM525.511 696.067458c-41.236242 53.201729-122.811734 79.17392-202.017232 36.272008-37.69924-20.441341-36.323373-60.6189-36.323373-60.6189s-15.64899-126.82861 119.758204-142.685459C542.540254 513.308169 566.741845 642.809767 525.511 696.067458L525.511 696.067458zM434.69857 611.121252c-8.67272 6.292933-10.444319 18.294596-5.739509 25.790514 4.536524 7.678594 15.070582 8.56979 23.61299 2.171927 8.39171-6.631904 11.63651-18.133905 7.105582-25.812299C455.14111 605.803857 444.738363 603.652715 434.69857 611.121252L434.69857 611.121252zM370.512089 628.578016c-25.301645 2.620423-43.388383 24.634498-43.388383 45.730994 0 21.128275 20.363793 35.724179 45.643654 32.765785 25.186723-2.886043 45.685225-22.331259 45.685225-43.402573C418.452385 642.523161 399.552999 625.795902 370.512089 628.578016L370.512089 628.578016zM844.505321 33.945177 179.501394 33.945177c-80.39869 0-145.565107 65.155425-145.565107 145.565107l0 664.976546c0 80.408483 65.166417 145.564907 145.565107 145.564907l665.003927 0c80.39869 0 145.555313-65.155425 145.555313-145.564907l0-664.976546C990.060635 99.101801 924.904011 33.945177 844.505321 33.945177L844.505321 33.945177zM797.920106 668.496351C742.384559 786.379027 559.365046 843.752928 423.744597 833.138124c-128.896808-10.142523-294.615651-52.99407-311.743438-208.96732 0 0-9.058658-70.631312 59.442098-162.046333 0 0 98.505213-137.573725 213.222835-176.836905 114.846534-39.047726 128.239454 27.046063 128.239454 66.125567-6.089471 33.15632-17.533512 52.6549 25.566266 39.26218 0 0 112.914044-52.337915 159.337569-5.923184 37.505771 37.505771 6.189004 89.112981 6.189004 89.112981s-15.518878 17.191144 16.470433 23.380148C752.547669 503.66111 853.3869 550.392826 797.920106 668.496351L797.920106 668.496351zM686.610374 342.766396c-12.293665 0-22.159576-9.933665-22.159576-22.150782 0-12.392198 9.865911-22.352045 22.159576-22.352045 0 0 138.397367-25.556473 121.831798 123.128919 0 0.864014-0.109326 1.546352-0.301795 2.333818-1.568337 10.531859-10.82606 18.632567-21.727469 18.632567-12.32984 0-22.353045-9.854918-22.353045-22.175965C764.055267 420.189304 785.979602 320.830869 686.610374 342.766396L686.610374 342.766396zM920.511989 461.675776l-0.166287 0c-3.646128 25.13316-16.132462 27.155389-31.019169 27.155389-17.783743 0-32.19817-11.168428-32.19817-28.988346 0-15.409552 6.391267-31.083725 6.391267-31.083725 1.916101-6.500593 16.956104-46.860828-9.933665-107.194322-49.180456-82.663754-148.300252-83.866738-159.990327-79.127951-11.808194 4.590088-29.239975 6.943692-29.239975 6.943692-17.898665 0-32.249535-14.568523-32.249535-32.286909 0-14.860525 9.933665-27.441994 23.482879-31.295981 0 0 0.302995-0.494265 0.797259-0.599394 0.97334-0.214455 1.968665-1.183398 3.041538-1.260945 13.813834-2.672788 63.005282-12.318848 110.82526-1.125437C855.856225 202.811686 973.348566 285.552987 920.511989 461.675776L920.511989 461.675776z" fill="#707070" ></path>'+
      ''+
    '</symbol>'+
  ''+
'</svg>'
var script = function() {
    var scripts = document.getElementsByTagName('script')
    return scripts[scripts.length - 1]
  }()
var shouldInjectCss = script.getAttribute("data-injectcss")

/**
 * document ready
 */
var ready = function(fn){
  if(document.addEventListener){
      document.addEventListener("DOMContentLoaded",function(){
          document.removeEventListener("DOMContentLoaded",arguments.callee,false)
          fn()
      },false)
  }else if(document.attachEvent){
     IEContentLoaded (window, fn)
  }

  function IEContentLoaded (w, fn) {
      var d = w.document, done = false,
      // only fire once
      init = function () {
          if (!done) {
              done = true
              fn()
          }
      }
      // polling for no errors
      ;(function () {
          try {
              // throws errors until after ondocumentready
              d.documentElement.doScroll('left')
          } catch (e) {
              setTimeout(arguments.callee, 50)
              return
          }
          // no errors, fire

          init()
      })()
      // trying to always fire before onload
      d.onreadystatechange = function() {
          if (d.readyState == 'complete') {
              d.onreadystatechange = null
              init()
          }
      }
  }
}

/**
 * Insert el before target
 *
 * @param {Element} el
 * @param {Element} target
 */

var before = function (el, target) {
  target.parentNode.insertBefore(el, target)
}

/**
 * Prepend el to target
 *
 * @param {Element} el
 * @param {Element} target
 */

var prepend = function (el, target) {
  if (target.firstChild) {
    before(el, target.firstChild)
  } else {
    target.appendChild(el)
  }
}

function appendSvg(){
  var div,svg

  div = document.createElement('div')
  div.innerHTML = svgSprite
  svg = div.getElementsByTagName('svg')[0]
  if (svg) {
    svg.setAttribute('aria-hidden', 'true')
    svg.style.position = 'absolute'
    svg.style.width = 0
    svg.style.height = 0
    svg.style.overflow = 'hidden'
    prepend(svg,document.body)
  }
}

if(shouldInjectCss && !window.__iconfont__svg__cssinject__){
  window.__iconfont__svg__cssinject__ = true
  try{
    document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
  }catch(e){
    console && console.log(e)
  }
}

ready(appendSvg)


})(window)
